<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="BancosViewDlg" widgetVar="BancosViewDialog" modal="true" resizable="false" appendTo="@(body)" header="#{bundle.ViewBancosTitle}">
            <h:form id="BancosViewForm">
                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{bancosController.selected != null}">
                        <h:outputText value="#{bundle.ViewBancosLabel_id}"/>
                        <h:outputText value="#{bancosController.selected.id}" title="#{bundle.ViewBancosTitle_id}"/>
                        <h:outputText value="#{bundle.ViewBancosLabel_nome}"/>
                        <h:outputText value="#{bancosController.selected.nome}" title="#{bundle.ViewBancosTitle_nome}"/>
                        <h:outputText value="#{bundle.ViewBancosLabel_agencia}"/>
                        <h:outputText value="#{bancosController.selected.agencia}" title="#{bundle.ViewBancosTitle_agencia}"/>
                        <h:outputText value="#{bundle.ViewBancosLabel_numero}"/>
                        <h:outputText value="#{bancosController.selected.numero}" title="#{bundle.ViewBancosTitle_numero}"/>
                        <h:outputText value="#{bundle.ViewBancosLabel_telefone}"/>
                        <h:outputText value="#{bancosController.selected.telefone}" title="#{bundle.ViewBancosTitle_telefone}"/>
                        <h:outputText value="#{bundle.ViewBancosLabel_fax}"/>
                        <h:outputText value="#{bancosController.selected.fax}" title="#{bundle.ViewBancosTitle_fax}"/>
                        <h:outputText value="#{bundle.ViewBancosLabel_contato}"/>
                        <h:outputText value="#{bancosController.selected.contato}" title="#{bundle.ViewBancosTitle_contato}"/>
                        <h:outputText value="#{bundle.ViewBancosLabel_dataCadastramento}"/>
                        <h:outputText value="#{bancosController.selected.dataCadastramento}" title="#{bundle.ViewBancosTitle_dataCadastramento}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewBancosLabel_logradouro}"/>
                        <h:outputText value="#{bancosController.selected.logradouro.toString()}" title="#{bundle.ViewBancosTitle_logradouro}"/>
                        <h:outputText value="#{bundle.ViewBancosLabel_cidade}"/>
                        <h:outputText value="#{bancosController.selected.cidade.toString()}" title="#{bundle.ViewBancosTitle_cidade}"/>
                    </p:panelGrid>
                    <p:commandButton value="#{bundle.Close}" onclick="BancosViewDialog.hide()"/>
                </h:panelGroup>
            </h:form>
        </p:dialog>

    </ui:composition>
</html>
